<%--
 *  File:    UploadCustomerSalesTarget.jsp
 *  @Author: Jamesli	
 *  Date:    2011/01/25
 *
 *  Copyright (C) 2000 - 2011 Oval Technologies, Inc.
 *  All rights reserved. 
 *
 *  This software is the confidential and proprietary information of Oval 
 *  Technologies, Inc. ("Confidential Information").  You shall not
 *  disclose such Confidential Information and shall use it only in
 *  accordance with the terms of the license agreement you entered into
 *  with Oval.
--%>
<%@ include file="uploadcommon.inc" %>
    <table width="100%" cellspacing="0" cellpadding="0">
        <tr>
          <td class="td_center"><span class="title-big-b-center">
          <%= label.getLabelName("L_CustomerSalesTarget") + label.getLabelName("L_Upload")%>
          </span></td>
        </tr>
      </table>
      <div style="width=1345;height=450;padding-left:19px;padding-right:19px;overflow=auto;">
      <table border="1" cellspacing="0" bordercolorlight="#999999" bordercolordark="#FFFFFF" cellpadding="0" width="2700">
      <tr class="deepblue-left">
            <td class="title_center" width="100" rowspan="2"><%= label.getLabelName("L_Custom Code")%></td>
            <td class="title_center" width="*" rowspan="2"><%= label.getLabelName("L_CustomerName")%></td>
			<td class="title_center" width="100" rowspan="2"><%= label.getLabelName("L_Dept")%></td>
            <td class="title_center" width="100" rowspan="2"><%= label.getLabelName("L_Prodcode1")%></td>           
            <td class="title_center" width="150" rowspan="2"><%= label.getLabelName("L_ProdName")%></td>              
            <td class="title_center" width="50" rowspan="2"><%= label.getLabelName("L_Year")%></td>
            <td class="title_center" width="160" colspan="2"><%= label.getLabelName("L_January")%></td>
            <td class="title_center" width="160" colspan="2"><%= label.getLabelName("L_February")%></td>
            <td class="title_center" width="160" colspan="2"><%= label.getLabelName("L_March")%></td>
            <td class="title_center" width="160" colspan="2"><%= label.getLabelName("L_April")%></td>
            <td class="title_center" width="160" colspan="2"><%= label.getLabelName("L_May")%></td>
            <td class="title_center" width="160" colspan="2"><%= label.getLabelName("L_June")%></td>
            <td class="title_center" width="160" colspan="2"><%= label.getLabelName("L_July")%></td>
            <td class="title_center" width="160" colspan="2"><%= label.getLabelName("L_August")%></td>
            <td class="title_center" width="160" colspan="2"><%= label.getLabelName("L_September")%></td>
            <td class="title_center" width="160" colspan="2"><%= label.getLabelName("L_October")%></td>
            <td class="title_center" width="160" colspan="2"><%= label.getLabelName("L_November")%></td>
            <td class="title_center" width="160" colspan="2"><%= label.getLabelName("L_December")%></td>
        </tr>
        <tr class="deepblue-left">
        	<td width="80"><%= label.getLabelName("L_Quantity")%></td>
        	<td width="80"><%= label.getLabelName("L_Amount")%></td>
        	<td width="80"><%= label.getLabelName("L_Quantity")%></td>
        	<td width="80"><%= label.getLabelName("L_Amount")%></td>
        	<td width="80"><%= label.getLabelName("L_Quantity")%></td>
        	<td width="80"><%= label.getLabelName("L_Amount")%></td>
        	<td width="80"><%= label.getLabelName("L_Quantity")%></td>
        	<td width="80"><%= label.getLabelName("L_Amount")%></td>
        	<td width="80"><%= label.getLabelName("L_Quantity")%></td>
        	<td width="80"><%= label.getLabelName("L_Amount")%></td>
        	<td width="80"><%= label.getLabelName("L_Quantity")%></td>
        	<td width="80"><%= label.getLabelName("L_Amount")%></td>
        	<td width="80"><%= label.getLabelName("L_Quantity")%></td>
        	<td width="80"><%= label.getLabelName("L_Amount")%></td>
        	<td width="80"><%= label.getLabelName("L_Quantity")%></td>
        	<td width="80"><%= label.getLabelName("L_Amount")%></td>
        	<td width="80"><%= label.getLabelName("L_Quantity")%></td>
        	<td width="80"><%= label.getLabelName("L_Amount")%></td>
        	<td width="80"><%= label.getLabelName("L_Quantity")%></td>
        	<td width="80"><%= label.getLabelName("L_Amount")%></td>
        	<td width="80"><%= label.getLabelName("L_Quantity")%></td>
        	<td width="80"><%= label.getLabelName("L_Amount")%></td>
        	<td width="80"><%= label.getLabelName("L_Quantity")%></td>
        	<td width="80"><%= label.getLabelName("L_Amount")%></td>
        </tr>
        <%
        	int idx = 0;
        %>
        <logic:iterate id="onerow" collection="<%= customersalestarget %>" >
        <%
          if(idx%2 == 1)
          {
            	strClassType = "td-listrom";
          }else{
            	strClassType = "";
          }
          idx++;
        %>
       	<tr onMouseOver="this.className='tr-over'" onMouseOut="this.className='<%=JspHelper.filterNull( strClassType )%>'"  class="<%=JspHelper.filterNull( strClassType )%>">
            <td>&nbsp;<custom:write property="customercode" name="onerow" nbsp="true"/></td>
            <td>&nbsp;<custom:write property="customername" name="onerow" nbsp="true"/></td>
			<td>&nbsp;<custom:write property="deptname" name="onerow" nbsp="true"/></td>
            <td>&nbsp;<custom:write property="productcode" name="onerow" nbsp="true"/></td>
            <td>&nbsp;<custom:write property="productname" name="onerow" nbsp="true"/></td>
            <td>&nbsp;<custom:write property="year" name="onerow" nbsp="true"/></td>
            <td>&nbsp;<custom:write property="qty01" name="onerow" nbsp="true"/></td>
            <td>&nbsp;<custom:write property="amount01" name="onerow" nbsp="true"/></td>
            <td>&nbsp;<custom:write property="qty02" name="onerow" nbsp="true"/></td>
            <td>&nbsp;<custom:write property="amount02" name="onerow" nbsp="true"/></td>
            <td>&nbsp;<custom:write property="qty03" name="onerow" nbsp="true"/></td>
            <td>&nbsp;<custom:write property="amount03" name="onerow" nbsp="true"/></td>
            <td>&nbsp;<custom:write property="qty04" name="onerow" nbsp="true"/></td>
            <td>&nbsp;<custom:write property="amount04" name="onerow" nbsp="true"/></td>
            <td>&nbsp;<custom:write property="qty05" name="onerow" nbsp="true"/></td>
            <td>&nbsp;<custom:write property="amount05" name="onerow" nbsp="true"/></td>
            <td>&nbsp;<custom:write property="qty06" name="onerow" nbsp="true"/></td>
            <td>&nbsp;<custom:write property="amount06" name="onerow" nbsp="true"/></td>
            <td>&nbsp;<custom:write property="qty07" name="onerow" nbsp="true"/></td>
            <td>&nbsp;<custom:write property="amount07" name="onerow" nbsp="true"/></td>
            <td>&nbsp;<custom:write property="qty08" name="onerow" nbsp="true"/></td>
            <td>&nbsp;<custom:write property="amount08" name="onerow" nbsp="true"/></td>
            <td>&nbsp;<custom:write property="qty09" name="onerow" nbsp="true"/></td>
            <td>&nbsp;<custom:write property="amount09" name="onerow" nbsp="true"/></td>
            <td>&nbsp;<custom:write property="qty10" name="onerow" nbsp="true"/></td>
            <td>&nbsp;<custom:write property="amount10" name="onerow" nbsp="true"/></td>
            <td>&nbsp;<custom:write property="qty11" name="onerow" nbsp="true"/></td>
            <td>&nbsp;<custom:write property="amount11" name="onerow" nbsp="true"/></td>
            <td>&nbsp;<custom:write property="qty12" name="onerow" nbsp="true"/></td>
            <td>&nbsp;<custom:write property="amount12" name="onerow" nbsp="true"/></td>
       	</tr>
      </logic:iterate>
</table>
</div>
